package com.daisuxia.ts.pojo;

public class SyRevice {
	private String successful;
	private String errorCode;
	private String errorDescription;

	public String getSuccessful() {
		return successful;
	}

	public void setSuccessful(String successful) {
		this.successful = successful;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorDescription() {
		return errorDescription;
	}

	public void setErrorDescription(String errorDescription) {
		this.errorDescription = errorDescription;
	}

	public boolean isSuccessed() {
		if ("1".equals(successful)) {
			return true;
		}
		return false;
	}

	@Override
	public String toString() {
		return "SyRevice [errorCode=" + errorCode + ", errorDescription=" + errorDescription + ", successful=" + successful + "]";
	}

}
